//Solver Config
//$Id: config.h 97 2009-08-26 15:11:42Z Oleg.Bulychov $
#pragma once
#ifndef CONFIG_H
#define CONFIG_H

//__________________________________________________________________________________
//__________________________________________________________________________________
template<class P, class S>
struct Config:
    public P,
    public S
{
    typedef P TProblem_Config;
    typedef S TSolution_Config;

    std::string input_file_; 
    int         run_count_;
    int         max_step_;
    int         rand_seed_;
    int         debug_level_;

    template<class V>
    void accept(V& v)
    {
        P::accept(v);
        S::accept(v);
        v(VAR_(input_file),                 "../../../problems/foo/foo.bar");
        v(VAR_(run_count),                  1);
        v(VAR_(max_step),                   100);
        v(VAR_(rand_seed),                  1100101);
        v(VAR_(debug_level),                1);
    }
};
//__________________________________________________________________________________

#endif
//EOF!
